import request from '../utils/request'

//获取用户简历
export function getResume() {
    return request({
        url: '/nmzp/resume',
        method: 'get'
    })
}
//更新个人优势
export function updateAdvantage(data: any) {
    return request({
        url: '/nmzp/resume/advantage',
        method: 'put',
        data
    })
}
//更新工作经验
export function updateWorkEx(data: any) {
    return request({
        url: '/nmzp/resume/workEx',
        method: 'put',
        data
    })
}
//更新项目经验
export function updateProjectEx(data: any) {
    return request({
        url: '/nmzp/resume/projectEx',
        method: 'put',
        data
    })
}
//更新学历信息
export function updateEduEx(data: any) {
    return request({
        url: '/nmzp/resume/eduEx',
        method: 'put',
        data
    })
}
//投递简历
export function sendResume(data: any) {
    return request({
        url: '/nmzp/resume/toSend',
        method: 'post',
        data
    })
}
